package com.sc.pattern.worker;

/**
 * Created  on 2018/1/13.
 *
 * @author sc
 */
public class Client {
    public static void main(String[] args) {
        final Channel channel = new Channel(5);
        channel.startWorker();
        new TransportThread("sc",channel).start();
        new TransportThread("sc1",channel).start();
        new TransportThread("sc2",channel).start();
    }
}
